<ion-view view-title="通知列表">
    <ion-nav-buttons side="left">
        <a class="button button-icon icon ion-ios-arrow-back" href="#/tab/setting">设置</a>
    </ion-nav-buttons>

    <ion-content overflow-scroll="true" style="overflow: hidden">
        <ion-refresher on-refresh="refresh()"
                       pulling-text="下拉刷新..."
                       refreshing-text="拼命加载中..."
                       refreshing-icon="ion-loading-b">

        </ion-refresher>

        <div class="list">
            <a class="item item-icon-right" ng-repeat="n in list" href="#/notification/detail/{{n._d.id}}">
                <h2 ng-class="{1:'readed',0:'unread'}[n._d.isread]">{{n._d.content}}</h2>
                <p>{{n._d.createAt | date: 'yyyy-MM-dd HH:mm:ss'}}</p>
                <i class="icon ion-ios-arrow-right"></i>
            </a>
        </div>
    </ion-content>
</ion-view>
